package com.itheima.service;

import com.itheima.entity.PageResult;
import com.itheima.entity.QueryPageBean;
import com.itheima.pojo.CheckGroup;

import java.util.List;


public interface CheckGroupService {

    //添加检查组
    public void add(CheckGroup checkGroup,Integer[] checkitemIds);
    //分页查询
    public PageResult findPage(QueryPageBean queryPageBean);
    //根据checkgroup_id查询checkitem_id
    public List<Integer> findCheckItemIdByCheckGroupId(Integer id);
    //编辑检查组
    public void edit(CheckGroup checkGroup,Integer[] checkitemIds);
    //删除检查组
    public void delete(Integer id);
    //查询所有得检查组
    public List<CheckGroup> findAll();
}
